<?php
	session_start();
?>

<?php


$salida = date("Y-n-j H:i:s");
	
	 $_SESSION['MM_Username'] = NULL;
  $_SESSION['MM_UserGroup'] = NULL;
  $_SESSION['PrevUrl'] = NULL;
  unset($_SESSION['MM_Username']);
  unset($_SESSION['MM_UserGroup']);
  unset($_SESSION['PrevUrl']);
		session_destroy();
		echo '<script language = JavaScript>
			alert ("La sesion ha sido cerrada");
			location = "../index.php";
			</script>';
		//exit;
		
?>
